package com.xingmang.common.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @auther: hansom
 * @Version: 1.0
 * @create 2023/6/30 10:04
 */
@ApiModel("OA分类修改请求")
@Data
public class OaCategoryUpdateDTO {
    @ApiModelProperty(value = "分类ID",required = true)
    @NotNull(message = "分类ID不能为空")
    private Long categoryId;
    @ApiModelProperty("分类名称")
    private String categoryName;
    @ApiModelProperty("分类图标")
    private String categoryLogo;
    @ApiModelProperty("分类排序")
    private Integer categoryOrder;
}
